config

abstract fun config(): ProxyConfig

Returns the current proxy configuration.

Throws

when the profile is deleted or its engine is closed


abstract fun config(proxyConfig: AutoDetectProxyConfig)
abstract fun config(proxyConfig: CustomProxyConfig)
abstract fun config(proxyConfig: DirectProxyConfig)
abstract fun config(proxyConfig: SystemProxyConfig)
abstract fun config(proxyConfig: UrlProxyConfig)

Updates the current proxy configuration with the given config.

Parameters

proxyConfig

the new proxy configuration to apply

Throws

when the profile is deleted or its engine is closed